package com.jdrx.ocp.beans.entity;

import java.util.Date;

/**
 * 公司数据PO
 *
 * @author : zhongsen
 * @date : 2019/01/30 10:44
 */

public class CompanyPO {
    /**
     * id
     */
    private Integer id;
    /**
     * 上级公司ID
     */
    private Integer pid;
    /**
     * 公司名称
     */
    private String  companyName;
    /**
     * 公司联系人
     */
    private String  contact;
    /**
     * 公司联系电话
     */
    private String  tel;
    /**
     * 公司地址
     */
    private String  address;
    /**
     * 是否删除  0 否  1是
     */
    private Integer delFlag;
    /**
     * 创建人
     */
    private Long    createBy;
    /**
     * 创建时间
     */
    private Date    createAt;
    /**
     * 更新人
     */
    private Long    updateBy;
    /**
     * 更新时间
     */
    private Date    updateAt;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    @Override
    public String toString() {
        return "CompanyPO{"+
                "id="+id+
                ", pid="+pid+
                ", companyName='"+companyName+'\''+
                ", contact='"+contact+'\''+
                ", tel='"+tel+'\''+
                ", address='"+address+'\''+
                ", delFlag="+delFlag+
                ", createBy="+createBy+
                ", createAt="+createAt+
                ", updateBy="+updateBy+
                ", updateAt="+updateAt+
                '}';
    }
}
